using System;
using System.Collections.Generic;
using DapperExtensions.Mapper;
using MHI.InspectionManager.Interfaces; 

namespace MHI.InspectionManager.Data
{
	public class DevInspectionstepTMapper : ClassMapper<DevInspectionstepT>
	{
		public DevInspectionstepTMapper()
		{
			Table("dev_inspectionstep_t");
			Map(f => f.Id).Column("id").Key(KeyType.Assigned);
			Map(f => f.InspectionpointId).Column("inspectionpoint_id");
			Map(f => f.DeviceId).Column("device_id");
			Map(f => f.StepInfo).Column("step_info");
			Map(f => f.StepResult).Column("step_result");
			Map(f => f.StepOrder).Column("step_order");
			Map(f => f.GmtCreated).Column("gmt_created");
			Map(f => f.PersonModified).Column("person_modified");
			Map(f => f.GmtModified).Column("gmt_modified");
			Map(f => f.StateInfo).Column("state_info");
			Map(f => f.IsUse).Column("is_use");
			Map(f => f.Version).Column("version");
		}
	}
}
